#include "stm32f4xx.h"
#include "color.h"
#include "oled.h"
#include "systick.h"
#include "gui.h"

extern u16 FRONT_COLOR;	//画笔颜色
extern u16 BACK_COLOR;  //背景色
extern OLED_INFO oled_info;
extern char printf_buff[PRINTF_BUFF];
int main()
{
	SysTick_Init(168);
	NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);  //中断优先级分组 分2组
	OLED_Init();
	
	BACK_COLOR = RED;
	OLED_Clear(BACK_COLOR);
	while(1)
	{
		Clear_1608Map();
		
	}	
}
